
<table border="0" class="list" cellpadding=0 cellspacing=0>
<tr class="head">
	<td>标题</td>
	<td>发表于</td>
	<td>分类</td>
	<td>&nbsp;</td>
</tr>
<?php if($list) foreach($list as $art){ ?>
<tr class="body">
	<td><a href="./?a=article.read&id=<?php echo $art['aid']?>"><?php echo $art['title'];?></a></td>
	<td><?php echo $art['pubtime'];?></td>
	<td><?php echo $art['cateid'];?></td>
	<td width='60'>
		<a href="./?a=article.modify&id=<?php echo $art['aid']?>">编辑</a>
		删除
	</td>
</tr>
<?php } ?>
<tr class="foot">
	<td colspan=4>
		<input type="button" value="新建" onclick="location.href='./?a=article.add'" />
	</td>
</tr>
</table>
